package com.sxjh.entity.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class Finance10JcParam {

  @ApiModelProperty(value = "年份", required = true)
  @NotNull(message = "年份不能为空")
  private Integer year;

  @ApiModelProperty(value = "月份", required = true)
  @Min(value = 1, message = "请输入正确的月份")
  @Max(value = 12, message = "请输入正确的月份")
  @NotNull(message = "月份不能为空")
  private Integer month;

  @ApiModelProperty(value = "物料大类ID")
  private Integer categoryId;

  @ApiModelProperty(value = "物料ID")
  private Integer materialId;

  @ApiModelProperty("客户/供应商ID")
  private Integer supplierId;
  @ApiModelProperty("类型：1实收||2原发")
  private Integer type;

}